<div class="modal-content blur-theme">
  <div class="modal-header">
    <button type="button" class="close" ng-click="$dismiss()" aria-label="Close">
      <em class="ion-ios-close-empty sn-link-close"></em>
    </button>
    <h4 class="modal-title" id="myModalLabel">{{title}}</h4>
  </div>
  <div class="modal-body">
    <form class="form-horizontal" name="dict_form" novalidate ng-submit="save()">
    <div class="form-group">
      <label for="type" class="col-sm-2 control-label">字典类型</label>
      <div class="col-sm-8">
        <input type="text" class="form-control" id="type" placeholder="字典类型" ng-model="dict.type" required>
      </div>
    </div>
    <div class="form-group">
      <label for="desc" class="col-sm-2 control-label">字典名称</label>
      <div class="col-sm-8">
        <input type="text" class="form-control" id="desc" placeholder="字典名称" ng-model="dict.description" required>
      </div>
    </div>

    <div class="form-group">
      <label for="value" class="col-sm-2 control-label">键值</label>
      <div class="col-sm-8">
        <input type="text" class="form-control" id="value" placeholder="字典名称" ng-model="dict.value" required>
      </div>
    </div>

    <div class="form-group">
      <label for="label" class="col-sm-2 control-label">标签</label>
      <div class="col-sm-8">
        <input type="text" class="form-control" id="label" placeholder="标签" ng-model="dict.label" required>
      </div>
    </div>

    <div class="form-group">
      <label for="sort" class="col-sm-2 control-label">排序</label>
      <div class="col-sm-8">
        <input type="text" class="form-control" id="sort" placeholder="排序" ng-model="dict.sort" required>
      </div>
    </div>


    <div class="form-group">
      <label for="remarks" class="col-sm-2 control-label">备注</label>
      <div class="col-sm-8">
        <input type="text" class="form-control" id="remarks" placeholder="备注" ng-model="dict.remarks">
      </div>
    </div>

    <div class="form-group">
      <div class="col-sm-offset-8 col-sm-2">
        <button type="submit" class="btn btn-primary" ng-disabled="dict_form.$invalid">保存</button>
      </div>
<!--       <div class="col-sm-2">
        <button ng-click="$dismiss()" class="btn btn-warning">退出</button>
      </div> -->
    </div>

  </form>
  </div>
<!--   <div class="modal-footer">
    <button class="btn btn-primary" ng-click="ok()">
            确认
        </button>
        <button class="btn btn-warning" ng-click="cancel()">
            退出
        </button>
  </div> -->
</div>
